package com.jindianjichi.auth.appliccation.convert;

import com.jindianjichi.auth.appliccation.dto.AuthRoleDTO;
import com.jindianjichi.auth.domain.BO.AuthRoleBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface AuthRoleDTOConvert {
    AuthRoleDTOConvert instance= Mappers.getMapper(AuthRoleDTOConvert.class);
    AuthRoleBO convertToBoAuthRole(AuthRoleDTO authRoleDTO);
    AuthRoleDTO convertToDTOAuthRole(AuthRoleBO authRoleBO);

}
